package cn.ickck.law_paper_final.service;

import cn.ickck.law_paper_final.model.entity.CreditCard;

import java.util.List;

/**
 * @Author: ck
 * @Description:
 * @Date: Create in 16:27 2020/10/17
 */
public interface CreditCardService {
    //查询所有人员信息
    List<CreditCard> findAll();
    //通过id删除人员
    void deleteById(Integer id);
   //新增人员信息
    void insert(CreditCard creditCard);
    //更新人员信息
    void update(CreditCard creditCard);

    int count();

    List<CreditCard> selectByPage(int start, int end);

    List<CreditCard> findByNameOrKey(String key);

    void deleteByKey(String key);
}
